package com.lb.uts.constants;

/**
 * 定时任务的类型
 */
public enum TaskTypeEnum {
    CODE(0,"代码"),
    SHELL(1,"shell脚本")
    ;

    private final Integer type;

    private final String desc;

    TaskTypeEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}
